package com.qfhd.soft.cjzcore.UI.MulitRecycle.factory;


import android.view.View;

import com.qfhd.soft.cjzcore.UI.MulitRecycle.bean.Task_image_Bean;
import com.qfhd.soft.cjzcore.UI.MulitRecycle.bean.Task_image_detail_section_bean;
import com.qfhd.soft.cjzcore.UI.MulitRecycle.bean.Task_image_submit_bean;
import com.qfhd.soft.cjzcore.UI.MulitRecycle.bean.Task_try_Bean;
import com.qfhd.soft.cjzcore.UI.MulitRecycle.viewholder.BaseViewHolder;

/**
 * Created by beifeng on 2017/2/17.
 * type 工厂类 用来返回不同的itmetpe
 */

public interface TypeFactory {
  //  定义所有的返回类型
  int type(Task_try_Bean task_try_bean);
  int type(Task_image_Bean task_image_bean);
  int type(Task_image_detail_section_bean task_image_detail_section_bean);
  int type(Task_image_submit_bean task_image_submit_bean);

  BaseViewHolder createViewHolder(int type, View itemView);
}

